home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 554 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  1.2 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file C source, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4e 65 77 73 67 72 6f 75 | 70 73 3a 20 63 6f 6d 70 |Newsgrou|ps: comp|
|00000010| 2e 6c 61 6e 67 2e 63 2c | 63 6f 6d 70 2e 6c 61 6e |.lang.c,|comp.lan|
|00000020| 67 2e 63 2b 2b 0a 50 61 | 74 68 3a 20 6e 65 77 73 |g.c++.Pa|th: news|
|00000030| 2e 73 70 72 69 6e 74 6c | 69 6e 6b 2e 6e 65 74 21 |.sprintl|ink.net!|
|00000040| 6e 65 77 73 31 21 6e 65 | 77 73 0a 46 72 6f 6d 3a |news1!ne|ws.From:|
|00000050| 20 4a 6f 68 6e 20 4b 20 | 47 6f 74 77 61 6c 73 20 | John K |Gotwals |
|00000060| 3c 67 6f 74 77 61 6c 73 | 40 68 6f 6c 6c 69 2e 63 |<gotwals|@holli.c|
|00000070| 6f 6d 3e 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |om>.Subj|ect: Re:|
|00000080| 20 2d 3e 20 48 6f 77 20 | 64 6f 20 79 6f 75 20 75 | -> How |do you u|
|00000090| 73 65 20 74 68 65 20 45 | 58 54 45 52 4e 20 6b 65 |se the E|XTERN ke|
|000000a0| 79 77 6f 72 64 3f 20 3c | 2d 0a 58 2d 4e 6e 74 70 |yword? <|-.X-Nntp|
|000000b0| 2d 50 6f 73 74 69 6e 67 | 2d 48 6f 73 74 3a 20 6c |-Posting|-Host: l|
|000000c0| 61 66 2d 74 73 31 2d 30 | 35 2e 68 6f 6c 6c 69 2e |af-ts1-0|5.holli.|
|000000d0| 63 6f 6d 0a 43 6f 6e 74 | 65 6e 74 2d 54 79 70 65 |com.Cont|ent-Type|
|000000e0| 3a 20 74 65 78 74 2f 70 | 6c 61 69 6e 3b 20 63 68 |: text/p|lain; ch|
|000000f0| 61 72 73 65 74 3d 75 73 | 2d 61 73 63 69 69 0a 54 |arset=us|-ascii.T|
|00000100| 6f 3a 20 4a 61 63 6f 62 | 20 42 75 6b 63 7a 79 6e |o: Jacob| Bukczyn|
|00000110| 73 6b 69 20 3c 6a 62 75 | 6b 63 7a 79 6e 40 67 70 |ski <jbu|kczyn@gp|
|00000120| 75 2e 73 72 76 2e 75 61 | 6c 62 65 72 74 61 2e 63 |u.srv.ua|lberta.c|
|00000130| 61 3e 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |a>.Messa|ge-ID: <|
|00000140| 33 30 45 43 39 31 34 39 | 2e 36 38 30 37 40 68 6f |30EC9149|.6807@ho|
|00000150| 6c 6c 69 2e 63 6f 6d 3e | 0a 53 65 6e 64 65 72 3a |lli.com>|.Sender:|
|00000160| 20 6e 65 77 73 40 69 71 | 75 65 73 74 2e 6e 65 74 | news@iq|uest.net|
|00000170| 20 28 4e 65 77 73 20 41 | 64 6d 69 6e 29 0a 43 6f | (News A|dmin).Co|
|00000180| 6e 74 65 6e 74 2d 54 72 | 61 6e 73 66 65 72 2d 45 |ntent-Tr|ansfer-E|
|00000190| 6e 63 6f 64 69 6e 67 3a | 20 37 62 69 74 0a 4f 72 |ncoding:| 7bit.Or|
|000001a0| 67 61 6e 69 7a 61 74 69 | 6f 6e 3a 20 57 4c 20 43 |ganizati|on: WL C|
|000001b0| 6f 6d 70 75 74 65 72 20 | 53 79 73 74 65 6d 73 0a |omputer |Systems.|
|000001c0| 52 65 66 65 72 65 6e 63 | 65 73 3a 20 3c 34 63 68 |Referenc|es: <4ch|
|000001d0| 6b 71 32 24 31 73 30 36 | 40 70 75 6c 70 2e 75 63 |kq2$1s06|@pulp.uc|
|000001e0| 73 2e 75 61 6c 62 65 72 | 74 61 2e 63 61 3e 0a 4d |s.ualber|ta.ca>.M|
|000001f0| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|00000200| 0a 44 61 74 65 3a 20 46 | 72 69 2c 20 35 20 4a 61 |.Date: F|ri, 5 Ja|
|00000210| 6e 20 31 39 39 36 20 30 | 32 3a 34 37 3a 33 37 20 |n 1996 0|2:47:37 |
|00000220| 47 4d 54 0a 58 2d 4d 61 | 69 6c 65 72 3a 20 4d 6f |GMT.X-Ma|iler: Mo|
|00000230| 7a 69 6c 6c 61 20 32 2e | 30 62 34 20 28 57 69 6e |zilla 2.|0b4 (Win|
|00000240| 4e 54 3b 20 49 29 0a 0a | 4a 61 63 6f 62 20 42 75 |NT; I)..|Jacob Bu|
|00000250| 6b 63 7a 79 6e 73 6b 69 | 20 77 72 6f 74 65 3a 0a |kczynski| wrote:.|
|00000260| 3e 20 0a 3e 20 49 20 6e | 65 65 64 20 74 6f 20 75 |> .> I n|eed to u|
|00000270| 73 65 20 76 61 72 69 61 | 62 6c 65 73 20 69 6e 20 |se varia|bles in |
|00000280| 74 77 6f 20 64 69 66 66 | 65 72 65 6e 74 20 73 6f |two diff|erent so|
|00000290| 75 72 63 65 20 66 69 6c | 65 73 20 69 6e 20 74 68 |urce fil|es in th|
|000002a0| 65 0a 3e 20 73 61 6d 65 | 20 70 72 6f 6a 65 63 74 |e.> same| project|
|000002b0| 2e 20 49 20 6b 6e 6f 77 | 20 74 68 61 74 20 79 6f |. I know| that yo|
|000002c0| 75 20 6e 65 65 64 20 74 | 6f 20 64 65 63 6c 61 72 |u need t|o declar|
|000002d0| 65 20 74 68 65 6d 20 73 | 6f 6d 65 68 6f 77 0a 3e |e them s|omehow.>|
|000002e0| 20 77 69 74 68 20 74 68 | 65 20 45 58 54 45 52 4e | with th|e EXTERN|
|000002f0| 20 6b 65 79 77 6f 72 64 | 20 62 75 74 20 49 20 64 | keyword| but I d|
|00000300| 6f 6e 27 74 20 6b 6e 6f | 77 20 68 6f 77 2e 0a 3e |on't kno|w how..>|
|00000310| 20 0a 3e 20 50 6c 65 61 | 73 65 20 68 65 6c 70 21 | .> Plea|se help!|
|00000320| 20 52 65 70 6c 79 20 62 | 79 20 65 6d 61 69 6c 20 | Reply b|y email |
|00000330| 69 66 20 70 6f 73 73 69 | 62 6c 65 2c 20 6f 72 20 |if possi|ble, or |
|00000340| 6a 75 73 74 20 66 6f 6c | 6c 6f 77 2d 75 70 0a 3e |just fol|low-up.>|
|00000350| 20 68 65 72 65 2e 20 54 | 68 61 6e 6b 73 20 69 6e | here. T|hanks in|
|00000360| 20 61 64 76 61 6e 63 65 | 2e 0a 0a 48 65 72 65 20 | advance|...Here |
|00000370| 69 73 20 61 20 73 69 6d | 70 6c 65 20 65 78 61 6d |is a sim|ple exam|
|00000380| 70 6c 65 3a 0a 0a 2f 2f | 20 73 61 6d 70 6c 65 31 |ple:..//| sample1|
|00000390| 2e 63 70 70 0a 69 6e 74 | 20 67 6c 6f 62 61 6c 56 |.cpp.int| globalV|
|000003a0| 61 72 20 3d 20 31 32 33 | 3b 0a 0a 2f 2f 20 64 65 |ar = 123|;..// de|
|000003b0| 66 69 6e 65 20 79 6f 75 | 72 20 66 75 6e 63 74 69 |fine you|r functi|
|000003c0| 6f 6e 28 73 29 20 68 65 | 72 65 0a 0a 2f 2f 20 65 |on(s) he|re..// e|
|000003d0| 6e 64 20 6f 66 20 66 69 | 6c 65 0a 0a 2f 2f 20 73 |nd of fi|le..// s|
|000003e0| 61 6d 70 6c 65 32 2e 63 | 70 70 0a 65 78 74 65 72 |ample2.c|pp.exter|
|000003f0| 6e 20 69 6e 74 20 67 6c | 6f 62 61 6c 56 61 72 3b |n int gl|obalVar;|
|00000400| 0a 0a 2f 2f 20 64 65 66 | 69 6e 65 20 73 6f 6d 65 |..// def|ine some|
|00000410| 20 6d 6f 72 65 20 66 75 | 6e 63 74 69 6f 6e 73 20 | more fu|nctions |
|00000420| 68 65 72 65 0a 0a 2f 2f | 20 65 6e 64 20 6f 66 20 |here..//| end of |
|00000430| 66 69 6c 65 0a 0a 0a 49 | 27 6d 20 64 6f 69 6e 67 |file...I|'m doing|
|00000440| 20 74 68 69 73 20 66 72 | 6f 6d 20 6d 65 6d 6f 72 | this fr|om memor|
|00000450| 79 2c 20 62 75 74 20 49 | 20 74 68 69 6e 6b 20 69 |y, but I| think i|
|00000460| 74 20 77 69 6c 6c 20 77 | 6f 72 6b 21 21 0a 2a 2a |t will w|ork!!.**|
|00000470| 20 4a 6f 68 6e 0a 0a 2d | 2d 20 0a 20 20 20 49 20 | John..-|- . I |
|00000480| 61 6d 20 63 6f 6e 63 65 | 72 6e 65 64 20 77 69 74 |am conce|rned wit|
|00000490| 68 20 74 68 65 20 74 72 | 75 74 68 2e 20 20 52 65 |h the tr|uth. Re|
|000004a0| 61 6c 69 74 79 20 69 73 | 20 6f 66 20 6c 69 74 74 |ality is| of litt|
|000004b0| 6c 65 20 69 6e 74 65 72 | 65 73 74 20 74 6f 20 6d |le inter|est to m|
|000004c0| 65 2e 0a | |e.. | |
+--------+-------------------------+-------------------------+--------+--------+